/**
 * User.java
 * Copyright(C) 2017-2022 LowB Space
 * All rights reserved.
 * 2017-01-17 Created
 */
package com.hz.lowb.po;

import java.util.Date;

/**
 * 用户表
 * 
 * @author IronC
 * @since 0.0.5 2017-01-17
 */
public class User {

    /**
     * 用户ID
     */
    private Long userId;

    /**
     * 用户名
     */
    private String userName;

    /**
     * 用户密码
     */
    private String userPassword;

    /**
     * 用户手机号
     */
    private String userMobile;

    /**
     * 用户邮箱
     */
    private String userEmail;

    /**
     * 用户余额
     */
    private Long userBalance;

    /**
     * 用户积分
     */
    private Integer userCredit;

    /**
     * -1：未激活；0：激活；1：在线；2：离开；3：忙碌；4：离线
     */
    private Byte userStatus;

    /**
     * 创建时间
     */
    private Date userCreateTime;

    /**
     * 登录时间
     */
    private Date userLoginTime;

    /**
     * 登出时间
     */
    private Date userLogoutTime;

    /**
     * 会员ID
     */
    private Long vipId;

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName == null ? null : userName.trim();
    }

    public String getUserPassword() {
        return userPassword;
    }

    public void setUserPassword(String userPassword) {
        this.userPassword = userPassword == null ? null : userPassword.trim();
    }

    public String getUserMobile() {
        return userMobile;
    }

    public void setUserMobile(String userMobile) {
        this.userMobile = userMobile == null ? null : userMobile.trim();
    }

    public String getUserEmail() {
        return userEmail;
    }

    public void setUserEmail(String userEmail) {
        this.userEmail = userEmail == null ? null : userEmail.trim();
    }

    public Long getUserBalance() {
        return userBalance;
    }

    public void setUserBalance(Long userBalance) {
        this.userBalance = userBalance;
    }

    public Integer getUserCredit() {
        return userCredit;
    }

    public void setUserCredit(Integer userCredit) {
        this.userCredit = userCredit;
    }

    public Byte getUserStatus() {
        return userStatus;
    }

    public void setUserStatus(Byte userStatus) {
        this.userStatus = userStatus;
    }

    public Date getUserCreateTime() {
        return userCreateTime;
    }

    public void setUserCreateTime(Date userCreateTime) {
        this.userCreateTime = userCreateTime;
    }

    public Date getUserLoginTime() {
        return userLoginTime;
    }

    public void setUserLoginTime(Date userLoginTime) {
        this.userLoginTime = userLoginTime;
    }

    public Date getUserLogoutTime() {
        return userLogoutTime;
    }

    public void setUserLogoutTime(Date userLogoutTime) {
        this.userLogoutTime = userLogoutTime;
    }

    public Long getVipId() {
        return vipId;
    }

    public void setVipId(Long vipId) {
        this.vipId = vipId;
    }
}